negotiator
Class ActionEvent
java.lang.Object
negotiator.ActionEvent
public class ActionEvent
- extends java.lang.Object
This class records details about an action of an agent.
It is passed as event to interested parties (currently the logger&data display GUI).
If there is a time-out or other protocol error,
an additional EndNegotiation action will be created
by the NegotiationManager and sent to listener.
- Author:
- wouter
|
Constructor Summary |
ActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double utilA,
double utilB,
java.lang.String remarks)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ActionEvent
public ActionEvent(Agent actorP,
Action actP,
int roundP,
long elapsed,
double utilA,
double utilB,
java.lang.String remarks)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getUtilA
public double getUtilA()
getUtilB
public double getUtilB()
getAgentAsString
public java.lang.String getAgentAsString()
getRound
public int getRound()